package com.dongdong.service;

import com.dongdong.pojo.TbSpecification;
import com.dongdong.pojo.TbSpecificationOption;

import java.util.List;

public interface SpecificationService {
    List<TbSpecification> select(String specName);

    boolean insertAll(List<TbSpecificationOption> list, String name);

    boolean delete(Long id);

    TbSpecification toupdate(Long id);

    List<TbSpecificationOption> toupte(Long id);

    boolean update(List<TbSpecificationOption> list, TbSpecification tbSpecification);

    List<TbSpecification> selectAll();

}
